Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checklist metadata validation and checklist mapper severities #2750

Merged
merged 37 commits into from
Jul 31, 2024

Conversation

kemley76
Copy link
Contributor

Combines #2716 and #2637 into one PR due to many overlapping changes. Bringes in features and updates tests from Heimdall changes regarding checklist mapping and severity levels and checklist metadata validation.

kemley76 added 22 commits June 6, 2024 17:54
Signed-off-by: kemley76 <[email protected]>
Signed-off-by: Kaden Emley <[email protected]>
Signed-off-by: Kaden Emley <[email protected]>
Signed-off-by: Kaden Emley <[email protected]>
Signed-off-by: Kaden Emley <[email protected]>
This was referenced Jul 26, 2024
Signed-off-by: Kaden Emley <[email protected]>
*/
export type RowType = 'total' | 'critical' | 'high' | 'medium' | 'low' | 'Not Applicable';
export type RowType = 'total' | 'critical' | 'high' | 'medium' | 'low' | 'none';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm not familiar enough with threshold files to know if the changes you're making here are appropriate. please get @aaronlippold / @wdower / @ejaronne to confirm if this is alright.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had a discussion with @aaronlippold and @wdower regarding this table. There is no need to have a row for severity "none" because it should not be possible for there to be severity "none". Every mapper should define a severity, especially in the case when status is not applicable, because then impact would be 0 leading to severity "none".

I have reverted my changes, but the option for RowType: 'Not Applicable' has been removed because it is never used and does not need to be used because there is a column that represents this.

The script that generates this kind of table may need to be updated to reflect the possibility of there being N/A controls with severity critical, high, medium, or low.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make a new issue for this task @kemley76

Copy link
Contributor

mergify bot commented Jul 31, 2024

This pull request has a conflict. Could you fix it @kemley76?

Copy link

@Amndeep7 Amndeep7 merged commit d0fc78a into main Jul 31, 2024
13 checks passed
@mergify mergify bot deleted the update-hdf-converters branch July 31, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants